#include<stdio.h>
#include<malloc.h>

int main()
{
	int **p;
	int i,j;
	p=(int **)malloc(sizeof(int *[3]));
	for(i=0;i<3;i++)
	{
		p[i]=(int*)malloc(sizeof(int[3]));
		for(j=0;j<3;j++)
		{
			p[i][j]=i+j;
			printf("%d ",p[i][j]);
		}
		printf("\n");
	}

	printf("\nint*[3]:%ld\n",sizeof(int *[3]));
	printf("\nint[3]:%ld\n",sizeof(int  [3]));
	return 0;
}


